<template>
  <div>
    <el-aside width="200px">
      <el-menu default-active="2" router class="el-menu-vertical-demo">
        <el-menu-item index="/home/home">
          <i class="el-icon-menu"></i>
          <span slot="title">后台首页</span>
        </el-menu-item>
        <el-menu-item index="/home/xiang">
          <i class="el-icon-document"></i>
          <span slot="title">相册管理</span>
        </el-menu-item>
        <el-menu-item index="/home/shang">
          <i class="el-icon-setting"></i>
          <span slot="title">商品列表</span>
        </el-menu-item>
      </el-menu>
    </el-aside>
    <el-main>
      <crumb></crumb>
      <router-view></router-view>
    </el-main>
  </div>
</template>
<script>
import  crumb  from  "../../components/crumd"
export default {
components:{
  crumb
}
};
</script>
<style scoped>
.el-aside {
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  color: #333;
  text-align: center;
  float: left;
  margin-left: 300px;
  margin-top: -160px;
}
</style>